package com.lawyer.entity;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 房间
 *
 */
@Entity
@Table
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RoomInfo extends AbstractAuditingEntity {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	@Transient
	private Long roomId;
	private Integer sdkAppId;
	private String lawyerId;
	private String userId;
	@ApiModelProperty(value = "签名")
	private String userSig;
	
	@ApiModelProperty(value = "套餐id")
	private Integer mealId;

	@ApiModelProperty(value = "套餐名字", hidden = true)
	private String mealName;
	@ApiModelProperty(value = "通话时长", hidden = true)
	private Integer time;
	@ApiModelProperty(value = "套餐总价", hidden = true)
	private Double price;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getSdkAppId() {
		return sdkAppId;
	}

	public void setSdkAppId(Integer sdkAppId) {
		this.sdkAppId = sdkAppId;
	}

	public String getLawyerId() {
		return lawyerId;
	}

	public void setLawyerId(String lawyerId) {
		this.lawyerId = lawyerId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserSig() {
		return userSig;
	}

	public void setUserSig(String userSig) {
		this.userSig = userSig;
	}

	public Long getRoomId() {
		return id;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public Integer getMealId() {
		return mealId;
	}

	public void setMealId(Integer mealId) {
		this.mealId = mealId;
	}

	public String getMealName() {
		return mealName;
	}

	public void setMealName(String mealName) {
		this.mealName = mealName;
	}

	public Integer getTime() {
		return time;
	}

	public void setTime(Integer time) {
		this.time = time;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	
}
